package kathy_java6.cap5;

public class Program4 {
	static int doStuff(){
		int x = 1;
		for(; x < 3; ){
			System.out.println("teste");
			//System.exit(0);
			//return 12;
			x++;
		}
		return 10;
	}
	static int doIt(){
		for(int a = 0, b = 0, c = 0;(((a < 10) && ( b < 10)) && (c < 5)); a++, b++, c++){
			System.out.println("a: " + a + "\n b: " + b + "\nc: " + c) ;
			
		}
		return 1;
	}
	public static void main(String[] args) {
		new Program4().doStuff();
		new Program4().doIt();
	}
}
